package com.ftqh.project.travel.security.service;


import com.ftqh.project.travel.security.entity.User;

import java.util.Optional;

/**
 * Created by Administrator on 2016/12/27.
 */
public interface UserService {
    User save(User user);
    Optional<User> findByUsername(String username);
    Optional<User> findByPhone(String phone);
}
